package com.rs.game.player.content;

import com.rs.game.player.Player;

public class PinManager {
	
	private transient Player player;
	
	public void setPlayer(Player player) {
		this.player = player;
	}
	
	public void login() {
		if (player.getLastIP().equals(player.getSession().getIP())) {
			return;
		}
		if (player.accountPinSet) {
			player.getControlerManager().startControler("AccountPinControler");
		} else {
			return;
		}
	}
}